package com.zhilianbao.leyaogo.model.response;

import java.io.Serializable;
import java.util.List;

/**
 * ClassName: UploadFileResponse <br>
 * Description: 上传文件响应对象<br>
 * Author: Cyarie <br>
 * Created: 2016/5/9 17:56 <br>
 * Update Time：<br>
 * Update Description：<br>
 */
public class DownLoadResponse implements Serializable {


    /**
     * ret : 0
     * errcode : 0
     * msg : success
     * data : [{"md5filename":"d39894205b53d2bb89501896a30b07d2.jpg","uid":"1013","filesize":31443,"requstip":"192.168.1.91","status":0,"succsize":31443,"filename":"d39894205b53d2bb89501896a30b07d2.jpg","appid":"1003","errmsg":"apolo success","suffix":"jpg","url":"/d3/98/d39894205b53d2bb89501896a30b07d2.jpg","mode":2}]
     */

    private int ret;
    private int errcode;
    private String msg;
    /**
     * md5filename : d39894205b53d2bb89501896a30b07d2.jpg
     * uid : 1013
     * filesize : 31443
     * requstip : 192.168.1.91
     * status : 0
     * succsize : 31443
     * filename : d39894205b53d2bb89501896a30b07d2.jpg
     * appid : 1003
     * errmsg : apolo success
     * suffix : jpg
     * url : /d3/98/d39894205b53d2bb89501896a30b07d2.jpg
     * mode : 2
     */

    private List<DataBean> data;

    public int getRet() {
        return ret;
    }

    public void setRet(int ret) {
        this.ret = ret;
    }

    public int getErrcode() {
        return errcode;
    }

    public void setErrcode(int errcode) {
        this.errcode = errcode;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean implements Serializable {
        private String md5filename;
        private String uid;
        private int filesize;
        private String requstip;
        private int status;
        private int succsize;
        private String filename;
        private String appid;
        private String errmsg;
        private String suffix;
        private String url;
        private int mode;

        public String getMd5filename() {
            return md5filename;
        }

        public void setMd5filename(String md5filename) {
            this.md5filename = md5filename;
        }

        public String getUid() {
            return uid;
        }

        public void setUid(String uid) {
            this.uid = uid;
        }

        public int getFilesize() {
            return filesize;
        }

        public void setFilesize(int filesize) {
            this.filesize = filesize;
        }

        public String getRequstip() {
            return requstip;
        }

        public void setRequstip(String requstip) {
            this.requstip = requstip;
        }

        public int getStatus() {
            return status;
        }

        public void setStatus(int status) {
            this.status = status;
        }

        public int getSuccsize() {
            return succsize;
        }

        public void setSuccsize(int succsize) {
            this.succsize = succsize;
        }

        public String getFilename() {
            return filename;
        }

        public void setFilename(String filename) {
            this.filename = filename;
        }

        public String getAppid() {
            return appid;
        }

        public void setAppid(String appid) {
            this.appid = appid;
        }

        public String getErrmsg() {
            return errmsg;
        }

        public void setErrmsg(String errmsg) {
            this.errmsg = errmsg;
        }

        public String getSuffix() {
            return suffix;
        }

        public void setSuffix(String suffix) {
            this.suffix = suffix;
        }

        public String getUrl() {
            return url;
        }

        public void setUrl(String url) {
            this.url = url;
        }

        public int getMode() {
            return mode;
        }

        public void setMode(int mode) {
            this.mode = mode;
        }
    }
}
